<template>
  <el-card style="height: 100%;margin-top: 20px;background-color: #f58282;width: 100%">
    <div style="background-color: #FFFFF0;padding: 20px">
      <el-form label-position="left" :model="returnForm" class="form">

        <el-form-item label="景点名称">
            <span>
              {{returnForm.region}}
            </span>
        </el-form-item>
        <el-form-item label="旅游评价">
          <el-rate score-template="3" disabled style="padding-top: 10px" v-model="returnForm.value"></el-rate>
        </el-form-item>

        <el-form-item label="景点留言">
          <el-input disabled type="textarea" maxlength="120" show-word-limit :autosize="{ minRows: 2, maxRows: 4}" v-model="returnForm.info" placeholder="旅游感悟"></el-input>
        </el-form-item>

        <el-form-item label="发布时间">
            <span>
              {{returnForm.time}}
            </span>
        </el-form-item>
      </el-form>
    </div>

  </el-card>
</template>

<script>
export default {
  name: "LiuYan",
  data() {
    return {
      returnForm: {
        info: '西电',
        region: '西电',
        value: '3',
        time: Date()
      }
    }
  }
}
</script>

<style scoped>
.el-card {

}
.el-form-item {
  margin-bottom: 0;
}
.form {
  width: 100%;
}
.el-card__header {
  padding: 0 !important;
  background-color: red;
}
.el-card__body {
  padding: 5px;
}
</style>